package com.liqi.monitor.mapper;

import java.util.List;

import com.liqi.monitor.domain.DvDeploymentPatrol;

/**
 * 设备部署巡检Mapper接口
 * 
 * @author fucx
 * @date 2022-10-24
 */
public interface DvDeploymentPatrolMapper 
{
    /**
     * 查询设备部署巡检
     * 
     * @param id 设备部署巡检主键
     * @return 设备部署巡检
     */
    public DvDeploymentPatrol selectDvDeploymentPatrolById(Long id);

    /**
     * 查询设备部署巡检列表
     * 
     * @param dvDeploymentPatrol 设备部署巡检
     * @return 设备部署巡检集合
     */
    public List<DvDeploymentPatrol> selectDvDeploymentPatrolList(DvDeploymentPatrol dvDeploymentPatrol);

    /**
     * 新增设备部署巡检
     * 
     * @param dvDeploymentPatrol 设备部署巡检
     * @return 结果
     */
    public int insertDvDeploymentPatrol(DvDeploymentPatrol dvDeploymentPatrol);

    /**
     * 修改设备部署巡检
     * 
     * @param dvDeploymentPatrol 设备部署巡检
     * @return 结果
     */
    public int updateDvDeploymentPatrol(DvDeploymentPatrol dvDeploymentPatrol);

    /**
     * 删除设备部署巡检
     * 
     * @param id 设备部署巡检主键
     * @return 结果
     */
    public int deleteDvDeploymentPatrolById(Long id);

    /**
     * 批量删除设备部署巡检
     * 
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteDvDeploymentPatrolByIds(Long[] ids);
    
}
